<?php
class IndexCtrl extends BaseCtrl{
	function index(){
		$sql = "select * from app";
		$rs = AppModel::getAll($sql);
		var_dump($rs);
		exit;
		$appModel = new AppModel();
		$rs = $appModel->getRowById(1);
		var_dump($rs);
		echo "index";
		$this->echoJson('111111');
	}
}
